* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.zy-slider {
    width: 100%;
    height: 800px;
    overflow: hidden;
}

.zy-slider-wrapper {
    width: 100%;
    height: 720px;
}

.zy-slider-wrapper img {
    width: 100%;
    height: 100%;
    display: block;
}

.zy-slider-footer {
    height: 80px;
    background-color: rgb(100, 67, 68);
    padding: 12px 12px 0 12px;
    position: relative;
}

.zy-slider-footer .toggle {
    position: absolute;
    right: 0;
    top: 12px;
    display: flex;
}

.zy-slider-footer .toggle button {
    margin-right: 12px;
    width: 28px;
    height: 28px;
    appearance: none;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
}

.zy-slider-footer .toggle button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.zy-slider-footer p {
    margin: 0;
    color: #fff;
    font-size: 18px;
    margin-bottom: 10px;
}

.zy-slider-indicator {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
}

.zy-slider-indicator li {
    width: 8px;
    height: 8px;
    margin: 4px;
    border-radius: 50%;
    background: #fff;
    opacity: 0.4;
    cursor: pointer;
}

.zy-slider-indicator li.active {
    width: 12px;
    height: 12px;
    opacity: 1;
}

.zy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3列，每列占据1/3空间 */
    gap: 10px; /* 格子之间的间隙 */
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.zy-grid .box {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3em;
    overflow: hidden; /* 文字大小 */
}


#zy-page-container {
    width: 300px;
    height: 300px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.3s ease-in-out;
}

#zy-page-container .face {
    width: 300px;
    height: 300px;
    position: absolute;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    border: 5px solid #fff;
    box-sizing: border-box;
    transform: translate3d(0, 0, 150px);
}

/* 设置前面板样式 */
#zy-page-container .front {
    background-image: url("../images/resource/desktop_1.jpg");
    transform: rotateY(0deg) translateZ(150px);
}

/* 设置后面板样式 */
#zy-page-container .back {
    background-image: url("../images/resource/desktop_2.jpg");
    transform: rotateY(180deg) translateZ(150px);
}

/* 设置上面板样式 */
#zy-page-container .top {
    background-image: url("../images/resource/desktop_3.jpg");
    transform: rotateX(-90deg) translateZ(150px);
}

/* 设置底面板样式 */
#zy-page-container .bottom {
    background-image: url("../images/resource/desktop_4.jpg");
    transform: rotateX(90deg) translateZ(150px);
}

/* 设置左面板样式 */
#zy-page-container .left {
    background-image: url("../images/resource/desktop_5.jpg");
    transform: rotateY(-90deg) translateZ(150px);
}

/* 设置右面板样式 */
#zy-page-container .right {
    background-image: url("../images/resource/desktop_6.jpg");
    transform: rotateY(90deg) translateZ(150px);
}

canvas {
    display: block;
    width: 600px;
    height: 622px;
    background-color: black;
}